//
//  AmapManger.h
//  jiaKaoZhuShou
//
//  Created by 金艺社 on 2018/5/14.
//  Copyright © 2018年 金艺社. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <AMapLocationKit/AMapLocationKit.h>
#import <AMapFoundationKit/AMapFoundationKit.h>
#import <MAMapKit/MAMapKit.h>
#import <AMapSearchKit/AMapSearchKit.h>
#import "POIAnnotation.h"
typedef void(^locationInfo)(AMapLocationReGeocode *);
typedef void(^GeocodeInfo)(AMapGeocode *);
@interface AmapManger : NSObject
@property (nonatomic, strong) MAMapView *mapView;
@property (nonatomic, strong) locationInfo infoBlock;
@property (nonatomic, strong) GeocodeInfo pointBlock;
@property (nonatomic, strong) AMapSearchAPI *search;
- (void)addToViewWithView:(UIView *)view;
- (void)reGeocodeAction;
- (void)searchhWithCity:(NSString *)city;
- (void)searchGeocodeWithCity:(NSString *)city;
- (void)tracingPointWithAry:(NSArray *)pointAry;
- (void)selectPointWithName:(NSString *)name;
@end

